﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoDbObject;

namespace Colligate.DataSource.DriverTraining.Business
{
    class DataNode_BusinessInteractive:BaseDataTree
    {
        private const string DATATYPE_COMPLAIN = "BizInterComplain";
        private const string DATATYPE_QUESTION = "BizInterQuestion";

        public DataNode_BusinessInteractive(string taskGuid, IDataSourceLayer dataLayer, IDataService dataService)
            : base(taskGuid, dataLayer, dataService)
        {
            _dataTypeList[DataTypeCategory.SET_DATA_LIST] = new string[] { DATATYPE_COMPLAIN, DATATYPE_QUESTION };
            _dataTypeList[DataTypeCategory.GET_DATA_LIST] = new string[] { DATATYPE_COMPLAIN, DATATYPE_QUESTION };
            _dataTypeList[DataTypeCategory.TRANSFORM_LIST] = new string[] { };
            _dataDefine = new BusinessFinance(dataLayer);
        }
    }
}
